package com.youhome.service.mapper;

import com.youhome.service.model.BMessage;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BMessageMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BMessage record);

    int insertSelective(BMessage record);

    BMessage selectByPrimaryKey(Long id);

    BMessage selectByPrimaryKeyAndReceiver(BMessage record);

    int updateByPrimaryKeySelective(BMessage record);

    int updateByPrimaryKey(BMessage record);

    List<BMessage> selectByBean(BMessage record);

    int selectCountByBean(BMessage record);

    int deleteByBean(BMessage record);

    int updateStatus(BMessage record);


}